package com.cn.yunhe.rentcars.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 字典表对应实体类
 * 
 * @author 朱钦明
 *
 */
public class SysDict implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;//字典编号
	private String fId;//父类编号
	private String name;//字典名称
	private String code;//字典代码
	private int orderNum;//排序方式
	private Date addTime;//系统时间
	
	
	/**
	 * 默认无参构造函数
	 */
	public SysDict() {
		
	}
	/**
	 * 给构造函数传入5个参数
	 * @param id
	 * @param fId
	 * @param name
	 * @param code
	 * @param orderNum
	 */
	public SysDict(String id, String fId, String name, String code, int orderNum) {
		this.id = id;
		this.fId = fId;
		this.name = name;
		this.code = code;
		this.orderNum = orderNum;
	}
	
	/**
	 * 给构造函数传入4个参数
	 * @param fId
	 * @param name
	 * @param code
	 * @param orderNum
	 * @param addTime
	 */
	public SysDict(String fId, String name, String code, int orderNum) {
		this.fId = fId;
		this.name = name;
		this.code = code;
		this.orderNum = orderNum;
	}
	
	
	/**
	 * get和set方法
	 * @return
	 */
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getfId() {
		return fId;
	}
	public void setfId(String fId) {
		this.fId = fId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public int getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	
}
